package com.Web.Service;

import com.Web.Person.Course;
import com.Web.util.PageInfo;

import java.util.List;

public interface ICourseService {

    PageInfo selectByPage(Integer pageNo, Integer pageSize);

    List<Course> selectAll();

    void add(Course course);

    void deleteById(int id);

    Course toUpdate(int id);

    void update(Course course);
}
